package kokist.android.shichaanimator;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

/**
 * Created by  Hao on 2015/5/27.
 * Email  695686241@qq.com
 */
public class ParllaxFragemnt extends Fragment{

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        int index=savedInstanceState.getInt("index");
        int  layoutid=savedInstanceState.getInt("layoutid");

        return inflater.inflate(layoutid,null);

    }
}
